﻿using SuperX.SuperSocket.Socket.Command;
using SuperX.SuperSocket.Socket.Server;
using SuperX.SuperSocket.Server;

namespace SuperX.SuperSocket.Socket.Message
{
    public class MessageArgs : MessageEventArgs
    {
        public ISsocketMessage AppMessage { get; set; }

        public MessageArgs(Session appSession, SocketMessage socketMessage) :
            base(appSession, socketMessage)
        {
        }

        public MessageArgs(MessageEventArgs messageEventArgs) :
            base(messageEventArgs.AppSession, messageEventArgs.SocketMessage)
        {
        }
    }
}